//
//  LeaseClothingConstants.h
//  LeaClothing
//
//  Created by LeaClothing 18/1/6.
//  Copyright © 2018年 LeaClothing. All rights reserved.
//

#ifndef LeaseClothingConstants_h
#define LeaseClothingConstants_h

#define leasing_tablename @"leasing_tablename"
#define clothing_tablename @"clothing_tablename"

#define leasingListViewRefresh @"leasingListViewRefresh"
#define ClothingWarehouseViewRefresh @"ClothingWarehouseViewRefresh"

#define AppMianColor [UIColor colorWithHexString:@"#66CCFF"]
#define WS(weakSelf)  __weak __typeof(&*self)weakSelf = self;
#define iPhoneWidth [UIScreen mainScreen].bounds.size.width

#define kFormat(fomat,value) [NSString stringWithFormat:fomat,value]
#define kShowAlertWithMsg(msg) UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"Tip" message:msg preferredStyle:UIAlertControllerStyleAlert];\
UIAlertAction *sureAction = [UIAlertAction actionWithTitle:@"Sure" style:UIAlertActionStyleDefault handler:nil];\
[alert addAction:sureAction];\
[self presentViewController:alert animated:YES completion:nil];

#endif
